gtk4.git
24 years agoMore updates.
Stanislav Visnovsky [Tue, 25 Sep 2001 10:51:41 +0000 (10:51 +0000)]
More updates.

2001-09-25  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

* sk.po: More updates.

24 years agoPut notes in gtk_window_set_has_frame(), etc. docs about how these are not
Havoc Pennington [Tue, 25 Sep 2001 06:16:55 +0000 (06:16 +0000)]
Put notes in gtk_window_set_has_frame(), etc. docs about how these are not

2001-09-25  Havoc Pennington  <hp@pobox.com>

* gtk/gtkwindow.c: Put notes in gtk_window_set_has_frame(),
etc. docs about how these are not going to do what you want for
the X/win32 ports. Futile attempt to avoid a FAQ...

24 years agoadd marshal function types.
James Henstridge [Tue, 25 Sep 2001 01:12:08 +0000 (01:12 +0000)]
add marshal function types.

2001-09-24  James Henstridge  <james@daa.com.au>

* gtk/gtkmarshal.list (VOID): add marshal function types.

* gtk/gtkctree.c (gtk_ctree_class_init): make arguments have type
GTK_TYPE_CTREE_NODE|G_SIGNAL_TYPE_STATIC_SCOPE rather than
GTK_TYPE_POINTER.
(gtk_ctree_node_get_type): implement boxed type for GtkCTreeNodes
with no-op copy/free functions.

* gtk/gtkctree.h (gtk_ctree_node_get_type): add prototype for
GtkCTreeNode get_type function.

24 years agoGet rid of the newline-that-could-not-be-deleted; buffers may now be
Havoc Pennington [Mon, 24 Sep 2001 23:12:39 +0000 (23:12 +0000)]
Get rid of the newline-that-could-not-be-deleted; buffers may now be

2001-09-24  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextiter.c, gtk/gtktextbuffer.c, gtk/gtktextbtree.c,
gtktextlayout.c:
Get rid of the newline-that-could-not-be-deleted; buffers may
now be zero-length. Much easier to fix than expected, once
I figured out the right way to do it. However, there are
various subtle bugs introduced by this that will have to get
sorted out. Please use bugzilla.

24 years agoDon't wait for a response back from the window manager if our size hasn't
Owen Taylor [Mon, 24 Sep 2001 20:41:05 +0000 (20:41 +0000)]
Don't wait for a response back from the window manager if our size hasn't

Mon Sep 24 15:09:08 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwindow.c (gtk_window_move_resize): Don't wait for a
response back from the window manager if our size hasn't changed
since we won't get a response back from the window manager;
there was code in there to do this, but it was in the wrong
place so if the hints change and the size didn't we'd expect
a response.

Also, optimize the position-only-changed case by running
the resize queue immediately, and clean up some comments
for the changes.

24 years agoAdd a compat macro that got lost.
Owen Taylor [Mon, 24 Sep 2001 16:54:41 +0000 (16:54 +0000)]
Add a compat macro that got lost.

Mon Sep 24 12:48:25 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtknotebook.h: Add a compat macro that got lost.

        * gtk/gtktreestore.c: Doc fixes.

        * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix reference
        leak for windows that receive events after being destroyed.
        (#60863, Joshua N. Pritikin)

        * gtk/gtktable.c (gtk_table_remove): Use gtk_widget_queue_resize
        rather than gtk_container_queue_resize().

        * gtk/{gtkcontainer.c,gtkwidget.c,gtkwindow.c}: _gtk prefix
        gtk_container_queue_resize, gtk_container_queue_resize_widgets,
        gtk_container_child_composite_name. (#60217.)

24 years agoUpdates for removed/renamed functions.
Owen Taylor [Mon, 24 Sep 2001 16:54:19 +0000 (16:54 +0000)]
Updates for removed/renamed functions.

Mon Sep 24 12:43:45 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtk-sections.txt: Updates for removed/renamed functions.

24 years agoUpdated ta.po
Fatih Demir [Sun, 23 Sep 2001 22:01:48 +0000 (22:01 +0000)]
Updated ta.po

24 years agofix compat macros for gtk_menu_<prepend|insert>
Hans Breuer [Sat, 22 Sep 2001 19:37:41 +0000 (19:37 +0000)]
fix compat macros for gtk_menu_<prepend|insert>

2001-09-22  Hans Breuer  <hans@breuer.org>

* gtk/gtkmenu.h : fix compat macros for gtk_menu_<prepend|insert>

24 years agoweight value should be an int
Kristian Rietveld [Sat, 22 Sep 2001 14:55:02 +0000 (14:55 +0000)]
weight value should be an int

Sat Sep 22 16:50:34 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtktexttag.c (gtk_text_tag_set_property): (case PROP_WEIGHT):
        weight value should be an int

Sat Sep 22 15:17:41 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtkmenu.c (gtk_menu_select_item): move most code
        to gtk_menu_scroll_item_visible(). Only call
        gtk_menu_scroll_item_visible() if the menu widget has been
        realized. Fixes bug #55310.

24 years agoUpdated Slovak translation.
Stanislav Visnovsky [Sat, 22 Sep 2001 14:11:06 +0000 (14:11 +0000)]
Updated Slovak translation.

2001-09-22  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

* sk.po: Updated Slovak translation.

24 years agodon't pass key press to IM context if cursor isn't in an editable
Havoc Pennington [Sat, 22 Sep 2001 00:08:18 +0000 (00:08 +0000)]
don't pass key press to IM context if cursor isn't in an editable

2001-09-21  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c (gtk_text_view_key_press_event): don't pass
key press to IM context if cursor isn't in an editable location;
bug #58425, patch from Hidetoshi Tajima

24 years agoBug #60862
Havoc Pennington [Fri, 21 Sep 2001 23:56:43 +0000 (23:56 +0000)]
Bug #60862

2001-09-21  Havoc Pennington  <hp@redhat.com>

        Bug #60862

* gtk/gtktextbtree.c (gtk_text_btree_node_destroy):
(_gtk_text_btree_unref): fix up mark memory management

* gtk/gtktextmark.c (mark_segment_delete_func): ditto

24 years agodon't try to handle alignment here, because it's done by PangoLayout after
Havoc Pennington [Fri, 21 Sep 2001 23:39:21 +0000 (23:39 +0000)]
don't try to handle alignment here, because it's done by PangoLayout after

2001-09-20  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextlayout.c (gtk_text_layout_get_line_display): don't
try to handle alignment here, because it's done by PangoLayout
after we set the layout width. Fix from Dov.

24 years agoGtkRcStyle::parse has a GtkSettings parameter now. Pass it through
Hans Breuer [Fri, 21 Sep 2001 22:33:48 +0000 (22:33 +0000)]
GtkRcStyle::parse has a GtkSettings parameter now. Pass it through

2001-09-21  Hans Breuer  <hans@breuer.org>

* src/pixbuf-rc-style-c :  GtkRcStyle::parse has a GtkSettings
parameter now. Pass it through theme_parse_file () to use it
gtk_rc_find_pixmap_in_path ()

* src/pixbuf-draw.c : the font field from GtkStyle is private
now, use accessor gtk_style_get_font ()

* makefile.msc : compile on win32, use it if you have a _real_
fast computer or want to see gtk in slow motion :-)

24 years agoio-xpm.c (xpm_extract_color): Rewritten to handle
Matthias Clasen [Fri, 21 Sep 2001 21:39:42 +0000 (21:39 +0000)]
io-xpm.c (xpm_extract_color): Rewritten to handle
xpm colormap entries more thoroughly. (#59939)

24 years agoupdated externals
Hans Breuer [Fri, 21 Sep 2001 19:58:35 +0000 (19:58 +0000)]
updated externals

2001-09-21  Hans Breuer  <hans@breuer.org>

* gdk/gdk.def :
* gtk/gtk.def : updated externals

* gtk/gtkmain.h : define get_gtk_win32_directoty ()
* gtk/gtkmain.c (find_module) : don't use module_name after freeing it.
Also handle that Win32 pathes cann't be hard-coded

* gtk/gtkrc.c : use get_gtk_win32_directoty () to cleanup the various
module, themes etc directory calculations

* gdk/win32/gdkgeometry-win32.c : some more hacking to get coordinates
>16 bit right. The size limit within Win9x appears _not_ to be 32767
but slightly smaller ...

* gdk/win32/gdkwindow-win32.c : use impl->position_info to avoid
>16 bit clipping. Added dummy body for gdk_window_set_icon_list ()

* gdk/win32/gdkdrawable-win32.c : implement gdk_win32_drawable_get_handle ()

* gdk/win32/gdkevents-win32.c : some tweaking to get better expose
handling. I'm not sure if it is better now, but at least not worse

* gdk/win32/makefile.msc : define INSIDE_GDK_WIN32, some cleanup

* gdk/win32/gdkwin32.h : reflect recent API restrictions

24 years agoupdated externals
Hans Breuer [Fri, 21 Sep 2001 19:54:15 +0000 (19:54 +0000)]
updated externals

2001-09-21  Hans Breuer  <hans@breuer.org>

* gdk-pixbuf.def : updated externals

* makefile.msc : generate gdk-pixbuf-enum-types.[hc]

24 years agoset radio_menu_item->group to NULL after removing it from the list, as it
Matt Wilson [Fri, 21 Sep 2001 15:23:14 +0000 (15:23 +0000)]
set radio_menu_item->group to NULL after removing it from the list, as it

2001-09-21  Matt Wilson  <msw@redhat.com>

* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
radio_menu_item->group to NULL after removing it from the list, as
it is no longer in the group. (#60869)

* gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise

24 years agoadd variables and checks for specific versions of dependencies. Previously
Havoc Pennington [Fri, 21 Sep 2001 14:23:15 +0000 (14:23 +0000)]
add variables and checks for specific versions of dependencies. Previously

2001-09-20  Havoc Pennington  <hp@pobox.com>

* configure.in (PANGO_REQUIRED_VERSION)
(ATK_REQUIRED_VERSION): add variables and checks for specific
versions of dependencies. Previously we didn't verify the
Pango or ATk versions.

2001-09-09  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextiter.c: fool with indentation
(gtk_text_iter_in_range): add g_return_if_fail

24 years agoFix ref count on new tag to be 1. Update doc. (#60836)
Joshua N Pritikin [Fri, 21 Sep 2001 00:48:04 +0000 (00:48 +0000)]
Fix ref count on new tag to be 1. Update doc. (#60836)

* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
ref count on new tag to be 1.  Update doc.  (#60836)

24 years agoOn OSF, apparently fseek() works in some on-demand way, so the fseek
Owen Taylor [Thu, 20 Sep 2001 21:24:19 +0000 (21:24 +0000)]
On OSF, apparently fseek() works in some on-demand way, so the fseek

Thu Sep 20 17:22:48 2001  Owen Taylor  <otaylor@redhat.com>

* io-tiff.c (gdk_pixbuf__tiff_image_load): On OSF, apparently fseek()
works in some on-demand way, so the fseek gdk_pixbuf_new_from_file() doesn't
work here since we are using the raw file descriptor. So, we call lseek()
on the fileno(f) before using it. (#60840).

24 years agoRemove unnecessary call to gdk_image_new_bitmap().
Owen Taylor [Thu, 20 Sep 2001 21:05:45 +0000 (21:05 +0000)]
Remove unnecessary call to gdk_image_new_bitmap().

Thu Sep 20 16:20:47 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
call to gdk_image_new_bitmap().

24 years agoUse the current day, as well as the current month and year.
Owen Taylor [Thu, 20 Sep 2001 19:35:08 +0000 (19:35 +0000)]
Use the current day, as well as the current month and year.

Thu Sep 20 15:31:35 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcalendar.c (gtk_calendar_init): Use the current
day, as well as the current month and year.

24 years agoAutomatically set set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)
Owen Taylor [Thu, 20 Sep 2001 19:16:03 +0000 (19:16 +0000)]
Automatically set set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)

Thu Sep 20 15:10:30 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)

24 years agoCVS got a broken pipe signal, the ChangeLog change has already been
Kristian Rietveld [Thu, 20 Sep 2001 16:50:46 +0000 (16:50 +0000)]
CVS got a broken pipe signal, the ChangeLog change has already been
checked in.

24 years agoget rid of it,
Kristian Rietveld [Thu, 20 Sep 2001 16:45:41 +0000 (16:45 +0000)]
get rid of it,

Thu Sep 20 18:00:56 2001  Kristian Rietveld  <kristian@planet.nl>

        * tests/testgtk.c (struct OptionMenuItem): get rid of it,

        (build_option_menu): add func argument, connect ::changed
        signal to option menu instead of connecting the ::activate
        signal to the menu items,

        (toplevel): get rid of RADIOMENUTOGGLED macro,

        (list_toggle_sel_mode), (clist_toggle_sel_mode),
        (ctree_toggle_line_style), (ctree_toggle_expander_style),
        (ctree_toggle_justify), (ctree_toggle_sel_mode),
        (progressbar_toggle_orientation), (progressbar_toggle_bar_style):
        use gtk_option_menu_get_history() instead of RADIOMENUTOGGLED,

        (notebook_type_changed): merged standard_notebook(),
        notabs_notebook(), scrollable_notebook() and borderless_notebook()
        into notebook_type_changed()

        (create_list), (create_ctree), (create_notebook),
        (create_progress_bar): changed OptionMenuItem arrays into
        gchar * arrays. Removed "Extended" item where used.

        Fixes bug #59885

24 years agoconfigure.in gdk/Makefile.am gtk/Makefile.am gtk/gtkselection.c
Sven Neumann [Thu, 20 Sep 2001 16:31:21 +0000 (16:31 +0000)]
configure.in gdk/Makefile.am gtk/Makefile.am gtk/gtkselection.c

2001-09-20  Sven Neumann  <sven@gimp.org>

* configure.in
* gdk/Makefile.am
* gtk/Makefile.am
* gtk/gtkselection.c
* gtk/gtktreeview.c
* gtk/gtkwindow.c: removed remaining traces of nanox GDK backend.

24 years agosame change as in pango, so that flags types are registered as flags
James Henstridge [Thu, 20 Sep 2001 15:41:20 +0000 (15:41 +0000)]
same change as in pango, so that flags types are registered as flags

2001-09-20  James Henstridge  <james@daa.com.au>

* Makefile.am (gdk-pixbuf-enum-types.c): same change as in pango,
so that flags types are registered as flags rather than enums (not
that there are any flags here at the moment).

24 years agoAdd a missing pango_layout_iter_free ().
Owen Taylor [Thu, 20 Sep 2001 15:38:41 +0000 (15:38 +0000)]
Add a missing pango_layout_iter_free ().

Thu Sep 20 11:19:42 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): Add
a missing pango_layout_iter_free ().

24 years agoSmall warning cleanups.
Owen Taylor [Thu, 20 Sep 2001 15:08:00 +0000 (15:08 +0000)]
Small warning cleanups.

Thu Sep 20 11:03:51 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkobject.c gtk/gtklist.c gtk/gtkplug.c gtk/gtksocket.c
        gtk/gtktreemodelsort.c gtk/gtktreeview.c: Small warning cleanups.

        * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_get_group): Change
        the function definition so we don't accidentally rely on
        the compat #define from gtk_radio_menu_item_group.
        (#60782, Jeff Franks)

24 years agoreturned incorrect values for top, right and bottom due to cut-and-paste
Kristian Rietveld [Thu, 20 Sep 2001 14:53:04 +0000 (14:53 +0000)]
returned incorrect values for top, right and bottom due to cut-and-paste

Thu Sep 20 16:51:02 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtkwindow.c (gtk_window_get_frame_dimensions): returned
        incorrect values for top, right and bottom due to cut-and-paste
        bug. Pointed out by Vitaly Tishkov, fixes bug #59008

24 years agoSet _NET_WM_PID and WM_CLIENT_MACHINE properties on each window, not just
Owen Taylor [Wed, 19 Sep 2001 22:09:17 +0000 (22:09 +0000)]
Set _NET_WM_PID and WM_CLIENT_MACHINE properties on each window, not just

Wed Sep 19 17:59:27 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkwindow-x11.c (gdk_window_new): Set
_NET_WM_PID and WM_CLIENT_MACHINE properties on each
window, not just on the client leader. (#58463)

24 years agoAdd missing cast.
Owen Taylor [Wed, 19 Sep 2001 21:29:57 +0000 (21:29 +0000)]
Add missing cast.

Wed Sep 19 17:28:47 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_new): Add missing cast.

* gtk/gtkmenuitem.[ch] gtk/gtkmenushell.c: Underscore prefix
non-public _gtk_menu_item_set_placement.

* gtk/gtktooltips.h: Deprecate gtk_tooltips_set_delay().

24 years agoFix propagated (flags && GDK_COLOR_WRITEABLE) typo. (#59723)
Owen Taylor [Wed, 19 Sep 2001 20:17:44 +0000 (20:17 +0000)]
Fix propagated (flags && GDK_COLOR_WRITEABLE) typo. (#59723)

Wed Sep 19 16:16:38 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/win32/gdkcolor-win32.c gdk/x11/gdkcolor-x11.c
          gdk/linux-fb/gdkcolor-fb.c:
        Fix propagated (flags && GDK_COLOR_WRITEABLE) typo.
(#59723)

24 years agoAllow -1 for width/height to mean "width/height of pixbuf" (Patch from
Owen Taylor [Wed, 19 Sep 2001 20:13:16 +0000 (20:13 +0000)]
Allow -1 for width/height to mean "width/height of pixbuf" (Patch from

Wed Sep 19 16:12:16 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkpixbuf-render.c: Allow -1 for width/height
to mean "width/height of pixbuf" (Patch from Matthias Clasen,
#59723)

24 years agoPatch from Frank Belew #59037 for Solaris compilation.
Owen Taylor [Wed, 19 Sep 2001 20:07:05 +0000 (20:07 +0000)]
Patch from Frank Belew #59037 for Solaris compilation.

Wed Sep 19 16:01:27 2001  Owen Taylor  <otaylor@redhat.com>

Patch from Frank Belew #59037 for Solaris compilation.

* gtk/maketypes.awk: Change syntax slightly for a call
to sub(), apparently making awk on Solaris happier.

* gtk/gtktreeview.c: Remove C++ comments.

24 years agoAdd xgettext:no-c-format comment to to handle '99% of the time. (#60473,
Owen Taylor [Wed, 19 Sep 2001 19:51:54 +0000 (19:51 +0000)]
Add xgettext:no-c-format comment to to handle '99% of the time. (#60473,

Wed Sep 19 15:46:29 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwindow.c: Add xgettext:no-c-format comment to
to handle '99% of the time. (#60473, reported by Christian Rose)

* gtk/gtkwidget.h: Remove prototype for gtk_widget_get_usize()
which no longer exists. (#60379, reported by Vitaly Tishkov)

24 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Wed, 19 Sep 2001 15:55:21 +0000 (15:55 +0000)]
Updated Norwegian (bokmål) translation.

2001-09-19  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian (bokmål) translation.

24 years agoReleased 1.3.8.
Tim Janik [Wed, 19 Sep 2001 10:37:56 +0000 (10:37 +0000)]
Released 1.3.8.

Wed Sep 19 11:06:24 2001  Tim Janik  <timj@gtk.org>

        * Released 1.3.8.

        * gdk/Makefile.am: kill EXTRA_DIST clearing.

24 years agoReleased 1.3.8.
Tim Janik [Wed, 19 Sep 2001 09:44:36 +0000 (09:44 +0000)]
Released 1.3.8.

Wed Sep 19 11:06:24 2001  Tim Janik  <timj@gtk.org>

        * Released 1.3.8.

24 years agoDon't include gkd-pixbuf-features.h here since is in builddir and confuses
Owen Taylor [Wed, 19 Sep 2001 04:34:55 +0000 (04:34 +0000)]
Don't include gkd-pixbuf-features.h here since is in builddir and confuses

Wed Sep 19 00:28:24 2001  Owen Taylor  <otaylor@redhat.com>

        * Makefile.am (gdk_pixbuf_headers): Don't include
        gkd-pixbuf-features.h here since is in builddir
        and confuses autogen rules.

        * Makefile.am: Don't += variables before they have values,
        automake-1.5 doesn't like it.

        * Makefile.am: Fix srcdir != builddir for gdk-pixbuf-enum-types.c.

        * Makefile.am: The whitespace strikes back.

24 years agodon't use BUILT_SOURCES as its broken in automake 1.4, add explicit object
Tim Janik [Wed, 19 Sep 2001 02:10:45 +0000 (02:10 +0000)]
don't use BUILT_SOURCES as its broken in automake 1.4, add explicit object

Wed Sep 19 02:50:40 2001  Tim Janik  <timj@gtk.org>

        * demos/Makefile.am ($(testpixbuf_OBJECTS)): don't use BUILT_SOURCES
        as its broken in automake 1.4, add explicit object rule to
        generate this.

        * gdk-pixbuf/Makefile.am: fix maintainer and normal cleanfiles.
        get rid of uneccessary stamps, group stuff more logically, and build
        sources due to object rules. fix srcdir!=builddir.

24 years agoFix incorrect parameter to compute_double_length (#58680, patch from
Owen Taylor [Wed, 19 Sep 2001 00:58:09 +0000 (00:58 +0000)]
Fix incorrect parameter to compute_double_length (#58680, patch from

Tue Sep 18 20:47:16 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkspinbutton.c (gtk_spin_button_size_request): Fix
        incorrect parameter to compute_double_length
        (#58680, patch from Matthias Clasen)

        Fixes for compilation with Forte cc. (#59734, Derek Rafter)

        * gtk/gtkwindow.h gtk/gtksizegroup.h: Remove extra ;.

        * gdk/gdktypes.h (GdkModifierType): Write 1u << 31
        for GDK_RELEASE_MASK to avoid warnings with Forte.

        * gtk/gtktexttag.c gtk/gtkcellrendertext.c: Add some missing
        break; statements.

24 years agoDon't draw with GTK_STATE_ACTIVE.
Alex Larsson [Wed, 19 Sep 2001 00:49:52 +0000 (00:49 +0000)]
Don't draw with GTK_STATE_ACTIVE.

2001-09-18  Alex Larsson  <alexl@redhat.com>

        * gtk/gtkcheckbutton.c:
* gtk/gtkradiobutton.c:
Don't draw with GTK_STATE_ACTIVE.

* gtk/gtkclist.c:
* gtk/gtkctree.c:
Draw lines between rows with base_gc[GTK_STATE_NORMAL].

* gtk/gtktextdisplay.c:
Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and
unfocused with base_gc [GTK_STATE_ACTIVE].

* gtk/gtkentry.c:
Add select all menu-item.
Default cursor color is red.
Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and
unfocused with base_gc [GTK_STATE_ACTIVE].

* gtk/gtklabel.[ch]:
Add keynav + menu to selectable lables.
Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and
unfocused with base_gc [GTK_STATE_ACTIVE].

* gtk/gtkfilesel.c:
Add drag and drop support.

* gtk/gtkstyle.c:
(This was checked in earlier)
New default values for text/base SELECTED and ACTIVE

24 years agoup version to 1.3.8, interface age 0, binary age 0, depend on glib 1.3.8.
Tim Janik [Tue, 18 Sep 2001 23:44:32 +0000 (23:44 +0000)]
up version to 1.3.8, interface age 0, binary age 0, depend on glib 1.3.8.

Tue Sep 18 23:51:49 2001  Tim Janik  <timj@gtk.org>

        * configure.in: up version to 1.3.8, interface age 0,
        binary age 0, depend on glib 1.3.8.

        * NEWS: 1.3.8 updates.

24 years agoremove conflict marker from ChangeLog
Jonathan Blandford [Tue, 18 Sep 2001 23:00:32 +0000 (23:00 +0000)]
remove conflict marker from ChangeLog

24 years agocentralize all the editing code
Jonathan Blandford [Tue, 18 Sep 2001 22:49:02 +0000 (22:49 +0000)]
centralize all the editing code

Tue Sep 18 18:46:54 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_start_editing): centralize all
the editing code

* gtk/gtkcelleditable.c: Got rid of stop_editing, as there was no
reason to call it beyond emiting the two signals.

* gtk/gtkentry.c (gtk_entry_class_init): add "has_frame" property
to GtkEntry.

24 years agoFix up for changes to PangoFontDescription.
Owen Taylor [Tue, 18 Sep 2001 20:06:48 +0000 (20:06 +0000)]
Fix up for changes to PangoFontDescription.

Wed Sep 12 11:21:14 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcellrenderertext.[ch] gtk/gtktexttag.[ch]
  gtk/gtktextview.c tests/testgtk.c: Fix up for changes to
PangoFontDescription.

* gtk/gtkentry.c gtk/gtkclist.c gtk/gtkcellrenderertext.c
gtk/gtkspinbutton.c: Fix up for change to PangoMetrics
structure.

* gtk/gtkfontsel.c: Fix up for new Pango font listing API.

* gtk/gtkstyle.[ch]: Add gtk_style_get_font/set_font to replace
   direct access to style->font. Deprecate gtk_style_ref/unref.

  * gtk/gtkclist.c gtk/gtkctree.c gtk/gtkstyle.c gtk/gtkwidget.c:
   Remove gtk_style_ref/unref with g_object_ref/unref.

   * gtk/gtkcalendar.c: Remove leftover macros accessing
   style->font.

   * gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove unused
   variable.

   * gtk/gtktext.c gtk/gtklabel.c: Use gtk_style_get_font() instead of
style->font.

24 years agoGet rid of broken "can_edit" and "can_activate" properties in favor of
Jonathan Blandford [Tue, 18 Sep 2001 17:52:42 +0000 (17:52 +0000)]
Get rid of broken "can_edit" and "can_activate" properties in favor of

Tue Sep 18 13:51:35 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkcellrenderer.h (enum): Get rid of broken "can_edit" and
"can_activate" properties in favor of
GTK_CELL_RENDERER_MODE_INERT, GTK_CELL_RENDERER_MODE_ACTIVATABLE,
and GTK_CELL_RENDERER_MODE_EDITABLE

24 years agoAdd put for use with editable widgets. This function is private, and
Jonathan Blandford [Tue, 18 Sep 2001 16:15:10 +0000 (16:15 +0000)]
Add put for use with editable widgets. This function is private, and

Tue Sep 18 12:12:43 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_put): Add put for use with
editable widgets.  This function is private, and should only be
used by GtkTreeView.

24 years agodon't use += before =
Matt Wilson [Tue, 18 Sep 2001 13:26:52 +0000 (13:26 +0000)]
don't use += before =

2001-09-18  Matt Wilson  <msw@redhat.com>

* docs/Makefile.am (EXTRA_DIST): don't use += before =

* docs/faq/Makefile.am (EXTRA_DIST): likewise

* docs/tutorial/Makefile.am (EXTRA_DIST): likewise

* gdk/Makefile.am (MAINTAINERCLEANFILES): likewise
(EXTRA_HEADERS): likewise

* gtk/Makefile.am (MAINTAINERCLEANFILES): likewise
(EXTRA_HEADERS): likewise
(EXTRA_DIST): likewise
(CLEANFILES): likewise

* gtk/stock-icons/Makefile.am (CLEANFILES): likewise

* tests/Makefile.am (EXTRA_DIST): likewise

* Makefile.am (install-data-local): changed to use
install-data-hook, which runs after install-pkgconfigDATA, so that
the pkgconfigdir will have been created and populated first.

gdk-pixbuf/ChangeLog

2001-09-17  Matt Wilson  <msw@redhat.com>

* Makefile.am (libpixbufloader_xbm_la_LDFLAGS): removed duplicate
LDFLAGS definition, use the -avoid-version one.
(libpixbufloader_tga_la_LDFLAGS): likewise

24 years agoAdd editable interface. This should be the last big GtkTreeView API
Jonathan Blandford [Mon, 17 Sep 2001 21:44:20 +0000 (21:44 +0000)]
Add editable interface. This should be the last big GtkTreeView API

Mon Sep 17 17:39:52 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkcelleditable.[ch]: Add editable interface.  This should
be the last big GtkTreeView API change.

* gtk/gtkcellrenderer.[ch]: Get rid of the "event" vfunc, and
replace with "activate" and "start_editing".  Also, added a
"can_activate" and "can_edit" property.

* gtk/gtktreeviewcolumn.c: modify to use above.

24 years agoMirror GdkInterpType to PixopsInterpType to avoid including gdk-pixbuf
Owen Taylor [Mon, 17 Sep 2001 15:53:59 +0000 (15:53 +0000)]
Mirror GdkInterpType to PixopsInterpType to avoid including gdk-pixbuf

Mon Sep 17 11:49:02 2001  Owen Taylor  <otaylor@redhat.com>

        * pixops/*: Mirror GdkInterpType to PixopsInterpType
        to avoid including gdk-pixbuf headers.

24 years agoHandle scroll wheel events.
Alexander Larsson [Mon, 17 Sep 2001 02:19:01 +0000 (02:19 +0000)]
Handle scroll wheel events.

2001-09-16  Alexander Larsson  <alla@lysator.liu.se>

* gtk/gtkoptionmenu.c:
Handle scroll wheel events.

24 years agoadd generated files to ignore list.
James Henstridge [Sun, 16 Sep 2001 23:54:37 +0000 (23:54 +0000)]
add generated files to ignore list.

2001-09-16  James Henstridge  <james@daa.com.au>

* .cvsignore: add generated files to ignore list.

* gdk-pixbuf.h: include gdk-pixbuf-enum-types.h

* Makefile.am: add rules to build gdk-pixbuf-enum-types.[ch]

24 years agoio-pnm.c (pnm_read_header): Use GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
Matthias Clasen [Fri, 14 Sep 2001 22:15:54 +0000 (22:15 +0000)]
io-pnm.c (pnm_read_header): Use GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
not GDK_PIXBUF_ERROR_HEADER_CORRUPT. (#58308)

24 years agoRobustness fixes and test images for the jpeg, tiff, pnm, gif, xpm and tga
Matthias Clasen [Fri, 14 Sep 2001 22:04:55 +0000 (22:04 +0000)]
Robustness fixes and test images for the jpeg, tiff, pnm, gif, xpm and tga
loaders.

24 years agodemos/gtk-demo/main.c (setup_default_icon): Use a shaped
Matthias Clasen [Fri, 14 Sep 2001 21:24:57 +0000 (21:24 +0000)]
demos/gtk-demo/main.c (setup_default_icon): Use a shaped
icon instead of one with ugly white background.

24 years agodemos/gtk-demo/stock_browser.c (id_to_macro): make the uppercasing work. (#59550)
Matthias Clasen [Fri, 14 Sep 2001 21:21:28 +0000 (21:21 +0000)]
demos/gtk-demo/stock_browser.c (id_to_macro): make the uppercasing work. (#59550)

24 years agoUpdated Swedish translation.
Christian Rose [Thu, 13 Sep 2001 23:56:12 +0000 (23:56 +0000)]
Updated Swedish translation.

2001-09-14  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

24 years agoroad signs for error and question dialogs
Jakub Steiner [Thu, 13 Sep 2001 22:49:15 +0000 (22:49 +0000)]
road signs for error and question dialogs

24 years agodon't used BUILT_SOURCES to build marshal files, as in conjunction with
Tim Janik [Thu, 13 Sep 2001 22:31:06 +0000 (22:31 +0000)]
don't used BUILT_SOURCES to build marshal files, as in conjunction with

Fri Sep 14 00:30:48 2001  Tim Janik  <timj@gtk.org>

        * Makefile.am: don't used BUILT_SOURCES to build marshal
        files, as in conjunction with stamp files, this can
        lead to endless rebuilding loops.

24 years agomore dialog icon changes
Jakub Steiner [Thu, 13 Sep 2001 10:00:05 +0000 (10:00 +0000)]
more dialog icon changes

24 years agoRename interface signals to make them more clear. Also, change
Jonathan Blandford [Wed, 12 Sep 2001 23:16:18 +0000 (23:16 +0000)]
Rename interface signals to make them more clear. Also, change

Wed Sep 12 19:01:05 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodel.h (struct _GtkTreeModelIface): Rename interface
signals to make them more clear.  Also, change ::range_changed to
::row_changed.
* gtk/gtktreemodel.c: Adjust to interface change
* gtk/gtktreemodel.h: ditto
* gtk/gtktreemodelsort.c: ditto
* gtk/gtktreestore.c: ditto
* gtk/gtkliststore.c: ditto
* gtk/gtktreeview.c: ditto
* tests/testtreecolumns.c: ditto
* gtk/gtkmarshal.list: Actually remove a marshaller!

24 years agogtk/gtktextview.c Add support for Ctrl+Up/Down arrow to move cursor to
Padraig O'Briain [Wed, 12 Sep 2001 15:34:09 +0000 (15:34 +0000)]
gtk/gtktextview.c Add support for Ctrl+Up/Down arrow to move cursor to

* gtk/gtktextview.c
Add support for Ctrl+Up/Down arrow to move cursor to beginning
of previous/next paragraph. If within a paragraph cursor moves to
beginning of that paragraph.

24 years agodialog icon fix-ups, arrow icons, font, refresh and others
Jakub Steiner [Wed, 12 Sep 2001 10:45:57 +0000 (10:45 +0000)]
dialog icon fix-ups, arrow icons, font, refresh and others

24 years agostock icon updates: question dialog, arrows
Jakub Steiner [Wed, 12 Sep 2001 09:46:53 +0000 (09:46 +0000)]
stock icon updates: question dialog, arrows

24 years agoImplement a search path for GTK+ modules.
Owen Taylor [Tue, 11 Sep 2001 20:24:40 +0000 (20:24 +0000)]
Implement a search path for GTK+ modules.

Sat Sep  8 16:19:02 2001  Owen Taylor  <otaylor@redhat.com>

  * gtk/gtkmain.c: Implement a search path for GTK+ modules.

  * configure.in gtk/gtkrc.c gtk/Makefile.am: Look for modules
  in gtk-2.0/<type>/major.minor.(micro-binary_age) rather
  than in gtk-2.0/major.minor.micro/<type>/. This
  works better for a search path for modules.

  * gtk+-2.0.pc.in gtk+-2.0-uninstalled.pc.in: Add
  gtk_binary_version variable holding major.minor.(micro-binary_age).

  * modules/input/Makefile.am (moduledir): Fix installation
  directory to match change in lookup location.

  * gtk/gtkmain.c (gtk_init_check): Remove OS/2 code for dll
  suffixes. Needs to be handled in g_module_build_path().

* gtk/gtkrc.c gtk/queryimmodules.c: Use g_build_filename() where
appropriate.

24 years agooops, forgot to add those
Jakub Steiner [Tue, 11 Sep 2001 19:57:21 +0000 (19:57 +0000)]
oops, forgot to add those

24 years agoFixed reversed comparison causing RC properties not to work.
Owen Taylor [Tue, 11 Sep 2001 18:02:39 +0000 (18:02 +0000)]
Fixed reversed comparison causing RC properties not to work.

Tue Sep 11 13:59:12 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkrc.c (insert_rc_property): Fixed reversed comparison
causing RC properties not to work.

24 years agomore stock icons - warning dialog, error dialog, DnD
Jakub Steiner [Tue, 11 Sep 2001 12:49:53 +0000 (12:49 +0000)]
more stock icons - warning dialog, error dialog, DnD

24 years agominor fixes
Joshua N Pritikin [Tue, 11 Sep 2001 04:27:53 +0000 (04:27 +0000)]
minor fixes

24 years agoslight fix for g_object_set() not usable for nesting anymore.
Tim Janik [Mon, 10 Sep 2001 18:54:20 +0000 (18:54 +0000)]
slight fix for g_object_set() not usable for nesting anymore.

Mon Sep 10 20:47:22 2001  Tim Janik  <timj@gtk.org>

        * tests/testgtk.c (create_idle_test): slight fix for
        g_object_set() not usable for nesting anymore.

        * gtk/gtkhandlebox.c (gtk_handle_box_class_init):
        * gtk/gtkframe.c (gtk_frame_class_init): deprecate ::shadow
        properties, supply ::shadow_type properties instead as most
        other widgets do.

24 years agoForget gdkfont
Alexander Larsson [Mon, 10 Sep 2001 16:57:38 +0000 (16:57 +0000)]
Forget gdkfont

24 years agoForgot gdkfont.c
Alexander Larsson [Mon, 10 Sep 2001 16:56:50 +0000 (16:56 +0000)]
Forgot gdkfont.c

24 years agoUpdate to use the new g_boxed_type_register_static API.
Alex Larsson [Mon, 10 Sep 2001 16:54:07 +0000 (16:54 +0000)]
Update to use the new g_boxed_type_register_static API.

2001-09-10  Alex Larsson  <alexl@redhat.com>

* demos/gtk-demo/stock_browser.c:
* gdk/gdkcolor.c:
* gdk/gdkcursor.c:
* gdk/gdkevents.c:
* gdk/gdkrectangle.c:
* gtk/gtktypeutils.c:
Update to use the new g_boxed_type_register_static API.

24 years agoFix looping in gtk_tree_store_init() waiting for zero random int.
Padraig O'Briain [Mon, 10 Sep 2001 15:37:03 +0000 (15:37 +0000)]
Fix looping in gtk_tree_store_init() waiting for zero random int.

* gtk/gtktreestore.c:
Fix looping in gtk_tree_store_init() waiting for zero random int.

24 years agofix xscale and yscale behaviour which havoc broke. they have to default to
Tim Janik [Mon, 10 Sep 2001 14:59:49 +0000 (14:59 +0000)]
fix xscale and yscale behaviour which havoc broke. they have to default to

Mon Sep 10 16:55:49 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkalignment.c (gtk_alignment_init): fix xscale and yscale
        behaviour which havoc broke. they have to default to 1.0 for
        expand behaviour.

        * gtk/gtkwindow.c (gtk_window_get_property): don't cast NULL objects.

24 years agogtk/gtkstyle.c (_gtk_style_peek_property_value) Amend previous change to
Padraig O'Briain [Mon, 10 Sep 2001 12:23:49 +0000 (12:23 +0000)]
gtk/gtkstyle.c (_gtk_style_peek_property_value) Amend previous change to

* gtk/gtkstyle.c (_gtk_style_peek_property_value)
Amend previous change to avoid runtime error in g_param_spec_ref()

24 years agoFix blank line in the wrong place.
Owen Taylor [Mon, 10 Sep 2001 10:59:31 +0000 (10:59 +0000)]
Fix blank line in the wrong place.

Mon Sep 10 06:58:56 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkrc.c (insert_rc_property): Fix blank line
        in the wrong place.

24 years agoDon't do a lookup immediately after creating style->property_cache, since
Owen Taylor [Mon, 10 Sep 2001 10:54:43 +0000 (10:54 +0000)]
Don't do a lookup immediately after creating style->property_cache, since

Mon Sep 10 06:50:39 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkstyle.c (_gtk_style_peek_property_value): Don't
do a lookup immediately after creating style->property_cache,
since bsearch crashes on zero length for Solaris.

24 years ago2001-09-09 Alexander Larsson <alla@lysator.liu.se> 
Alexander Larsson [Sun, 9 Sep 2001 23:25:52 +0000 (23:25 +0000)]
2001-09-09  Alexander Larsson  <alla@lysator.liu.se> 

* gtk/gtkwidget.c (_gtk_widget_peek_colormap):
Really return NULL if not set.
(gtk_widget_init): Remove unused varaible.

24 years agoRemove gdk/nanox/Makefile from AC_OUTPUT(), since it is no longer in cvs.
Alexander Larsson [Sun, 9 Sep 2001 16:15:34 +0000 (16:15 +0000)]
Remove gdk/nanox/Makefile from AC_OUTPUT(), since it is no longer in cvs.

2001-09-09  Alexander Larsson  <alla@lysator.liu.se>

* configure.in:
Remove gdk/nanox/Makefile from AC_OUTPUT(), since it is no longer
in cvs.

24 years agomove some of the accel group functions into a Private subsection
Havoc Pennington [Sat, 8 Sep 2001 20:40:58 +0000 (20:40 +0000)]
move some of the accel group functions into a Private subsection

2001-09-08  Havoc Pennington  <hp@pobox.com>

* gtk/gtk-sections.txt: move some of the accel group functions
into a Private subsection

2001-09-08  Havoc Pennington  <hp@pobox.com>

* gtk/gtkaccelgroup.c: add docs to functions that I can imagine
people might want to use

24 years agodefault xscale/yscale to 0.0, not 0.5, 0.5 isn't useful
Havoc Pennington [Sat, 8 Sep 2001 19:33:06 +0000 (19:33 +0000)]
default xscale/yscale to 0.0, not 0.5, 0.5 isn't useful

2001-09-08  Havoc Pennington  <hp@pobox.com>

* gtk/gtkalignment.c (gtk_alignment_class_init): default
xscale/yscale to 0.0, not 0.5, 0.5 isn't useful

* tests/testtextbuffer.c: fix usage of gtk_text_iter_spew

* gtk/gtktextiter.c: fix docs
(gtk_text_iter_spew): get rid of this

* gtk/gtklayout.c: docs

* gtk/gtkbutton.c (gtk_button_construct_child): add an alignment
to center image and label together, instead of having image on
left and label centered, patch/suggestion from Jacob

* gtk/gtkdialog.c: docs

2001-09-08  Havoc Pennington  <hp@pobox.com>

* gtk/tmpl/gtklayout.sgml: docs

* gdk-pixbuf/gdk-pixbuf.sgml: remove the section on compiling
gdk-pixbuf since it isn't a standalone package anymore

* gtk/building.sgml: section on compiling GTK itself

24 years agoWrite documentation Write documentation
Jonathan Blandford [Sat, 8 Sep 2001 18:23:47 +0000 (18:23 +0000)]
Write documentation Write documentation

Sat Sep  8 14:19:49 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkliststore.c: Write documentation
* gtk/gtktreestore.c: Write documentation

Quick Documentation cleanup pass.

24 years agoReplace uses of GBSearchArray with GArray and bsearch(), to remove
Owen Taylor [Sat, 8 Sep 2001 17:55:02 +0000 (17:55 +0000)]
Replace uses of GBSearchArray with GArray and bsearch(), to remove

Sat Sep  8 13:53:09 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkrc.[ch] gtk/gtkstyle.[ch]: Replace uses of GBSearchArray
with GArray and bsearch(), to remove dependency on a still
evolving interface that we want to keep private to glib/gobject.

24 years agoput GtkPacker back in here so it won't be in gtk-unused.txt, but don't put
Havoc Pennington [Sat, 8 Sep 2001 06:24:46 +0000 (06:24 +0000)]
put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put

2001-09-08  Havoc Pennington  <hp@pobox.com>

* gtk/gtk-sections.txt: put GtkPacker back in here so it won't be
in gtk-unused.txt, but don't put it back in gtk-docs.sgml.

Tons of other additions from gtk-unused.txt, but mostly skipping
all the tree stuff for now.

2001-09-08  Havoc Pennington  <hp@pobox.com>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_add_attribute):
docs fixes

* gtk/gtktable.c (gtk_table_get_col_spacing): docs fixes

* gtk/gtkspinbutton.c (gtk_spin_button_get_increments): docs fixes

* gtk/gtksocket.c (gtk_socket_steal): docs fixes

* gtk/gtkscrolledwindow.h: docs fixes

* gtk/gtkimage.c (gtk_image_new): docs fixes

24 years agoPrevent a false alarm constness warning with a cast.
Owen Taylor [Sat, 8 Sep 2001 05:57:10 +0000 (05:57 +0000)]
Prevent a false alarm constness warning with a cast.

Sat Sep  8 01:49:22 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkmain-x11.c (_gdk_windowing_init_check): Prevent a
false alarm  constness warning with a cast.

* gdk/x11/gdkx.h: Undefine GDK_ROOT_PARENT before redefining it
for the inside-gdk case.

24 years agoRemove a whole lot of duplicates introduced at some point, to prevent
Owen Taylor [Sat, 8 Sep 2001 05:51:35 +0000 (05:51 +0000)]
Remove a whole lot of duplicates introduced at some point, to prevent

Sat Sep  8 01:38:39 2001  Owen Taylor  <otaylor@redhat.com>

* POTFILES.in: Remove a whole lot of duplicates
introduced at some point, to prevent problems
        like the last.

24 years agoremove g_print.
Jonathan Blandford [Sat, 8 Sep 2001 05:50:44 +0000 (05:50 +0000)]
remove g_print.

Sat Sep  8 01:44:18 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_set_dirty):
remove g_print.

* gtk/gtktreeview.c (gtk_tree_view_set_model): unref model when we
change models, #59899

Sat Sep  8 01:44:32 2001  Jonathan Blandford  <jrb@redhat.com>

* POTFILES.in: missed one.

24 years agoremove CellRendererTextPixbuf
Havoc Pennington [Sat, 8 Sep 2001 04:39:53 +0000 (04:39 +0000)]
remove CellRendererTextPixbuf

2001-09-08  Havoc Pennington  <hp@pobox.com>

* gtk/gtk-docs.sgml: remove CellRendererTextPixbuf

* gtk/resources.sgml: add section on mailing lists, bugzilla, etc.

* gtk/tmpl/gtkaccelgroup.sgml: add long description

* gtk/gtk-sections.txt: reorder accel group section; probably need
to delete most of it

* gtk/tmpl/gtkmain.sgml: Clean it up a little bit

* gtk/gtk-docs.sgml: rearrange the list of "core/misc" sections so
that useful things are near the top and stupid junk is near the
bottom.

* gtk/tmpl/gtkfeatures.sgml: fix/finish this section

* gtk/gtk-docs.sgml: create a separate section for
overview/tutorial material and special notes, and put the
reference docs for the "misc non-widget" stuff into its own
section.

* gtk/compiling.sgml: write this section

* gtk/gtk-docs.sgml: The intro section weirdly had two paragraphs
that said the same thing. Delete one of them.

24 years agoRemoved gtk/gtkcellrenderertextpixbuf.c since it's not around any more.
Darin Adler [Sat, 8 Sep 2001 02:10:00 +0000 (02:10 +0000)]
Removed gtk/gtkcellrenderertextpixbuf.c since it's not around any more.

* POTFILES.in: Removed gtk/gtkcellrenderertextpixbuf.c
since it's not around any more.

24 years agotsk tsk, jrb broke the build
Havoc Pennington [Sat, 8 Sep 2001 01:38:28 +0000 (01:38 +0000)]
tsk tsk, jrb broke the build

2001-09-07  Havoc Pennington  <hp@pobox.com>

* gtk/gtk.h: tsk tsk, jrb broke the build

24 years agoRemoved 'fill' attribute. It was silly b/c that was a property of the cell
Jonathan Blandford [Sat, 8 Sep 2001 00:56:30 +0000 (00:56 +0000)]
Removed 'fill' attribute. It was silly b/c that was a property of the cell

Fri Sep  7 20:45:29 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_pack_{start,end}):
Removed 'fill' attribute.  It was silly b/c that was a property of
the cell renderer, anyway.
(gtk_tree_view_column_render): Actually render the packed
renderers.
* doc/tree-column-sizing.txt: initial devel documentation.
* gtk/gtktreeview.c (gtk_tree_view_expand_all): Fix bug.
* gtk/gtkcellrenderertextpixbuf.[ch]: removed.

* tests/testtreefocus.c: fix up to reflect above changes.
* tests/testtreeview.c: ditto
* demos/gtk-demo/stock_browser.c: ditto

24 years agoRemoved unused function.
Alex Larsson [Sat, 8 Sep 2001 00:30:13 +0000 (00:30 +0000)]
Removed unused function.

2001-09-07  Alex Larsson  <alexl@redhat.com>

* gdk/linux-fb/gdkcolor-fb.c:
Removed unused function.

* gdk/linux-fb/gdkdrawable-fb2.c
* gdk/linux-fb/gdkfont-fb.c:
Use PangoLanguage functions.

* gdk/linux-fb/gdkinput.c:
* gdk/linux-fb/gdkselection-fb.c:
Fix const warnings.

* gdk/linux-fb/gdkwindow-fb.c:
Fix warning. Implement gdk_window_set_icon_list() and
gdk_window_get_frame_extents(). (No icon support yet though.)

* gtk/gtkwindow.c (gtk_window_get_position):
If window->frame is set get the extents of it instead.

24 years agoMake the default default colormap the GdkRGB colormap, not the system
Owen Taylor [Fri, 7 Sep 2001 23:11:17 +0000 (23:11 +0000)]
Make the default default colormap the GdkRGB colormap, not the system

Fri Sep  7 18:50:59 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_get_default_colormap):
Make the default default colormap the GdkRGB colormap,
not the system colormap.

* gtk/gtkinvisible.c (gtk_invisible_init)
  gtk/gtkwindow.c (gtk_window_init): Set the current
colormap, as returned by _gtk_widget_peek_colormap()
on the widget.

* gtk/gtkwidget.[ch]: Export _gtk_widget_peek_colormap
to GTK+. Make it return %NULL instead of the default
colormap if no colormap has explicitely been pushed.

* gtk/gtkwidget.c (gtk_widget_get_colormap): Check for
colormaps on ancestral widgets before defaulting the
the system default colormap.

* docs/Changes-2.0.txt: explain colormap changes.

24 years agoadd some lame code to handle G_MININT, fixes #57424
Havoc Pennington [Fri, 7 Sep 2001 22:48:30 +0000 (22:48 +0000)]
add some lame code to handle G_MININT, fixes #57424

2001-09-07  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextiter.c: add some lame code to handle G_MININT, fixes
#57424

24 years agoDeprecate gdk_set/get_use_xshm, make gdk_set_use_xshm a noop. Remove
Owen Taylor [Fri, 7 Sep 2001 22:33:09 +0000 (22:33 +0000)]
Deprecate gdk_set/get_use_xshm, make gdk_set_use_xshm a noop. Remove

Fri Sep  7 18:17:47 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/gdk.h gdk/x11/gdkmain-x11.c: Deprecate gdk_set/get_use_xshm,
make gdk_set_use_xshm a noop. Remove --no-xshm command line
option. If we aren't autodetecting properly, we need
to fix the problem, or at least make it an environment
variable setting, to avoid problems with propagating
to embedded children, plugins, etc.

* gdk/gdkcolor.h: Deprecate gdk_colormap_get_system_size().

* gdk/gdkpixbuf-render.c gdk/gdkpixbuf.h
(gdk_pixbuf_render_pixmap_and_mask_for_colormap):
New function to render a pixmap and mask for a particular colormap.

* gtk/gtkwindow.c (get_pixmap_and_mask): Change to use
gdk_pixbuf_render_pixmap_and_mask_for_colormap () instead
of internal implementation of the same.